package edu.mju.eduservice.mapper;

import edu.mju.eduservice.entity.StudyCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.mju.eduservice.vo.chapter.CourseIssueVo;
import edu.mju.eduservice.vo.frontvo.CourseWebVo;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author xiaoxin
 * @since 2020-08-31
 */
public interface StudyCourseMapper extends BaseMapper<StudyCourse> {


    /**
     *  根据课程id查询课程信息
     * @param courseId 课程id
     * @return CourseIssueVo
     */
    CourseIssueVo getIssueCourse(String courseId);


    CourseWebVo getBaseCourseInfo(String courseId);
}
